package com.jlh2.study.core.dal.hibernate.user;

import java.util.Collection;

import org.hibernate.criterion.DetachedCriteria;
import org.springframework.dao.DataAccessException;

import com.jlh2.study.core.dal.daointerface.user.UserDAO;
import com.jlh2.study.core.dal.hibernate.HibernateBaseDAO;

public class HibernateUserDAO extends HibernateBaseDAO implements UserDAO {

    public Collection getAllUserList(DetachedCriteria query) throws DataAccessException {
        // TODO Auto-generated method stub
        return this.findAll(query);
    }
}
